home *** CD-ROM | disk | FTP | other *** search
/ X User Tools / X User Tools (O'Reilly and Associates)(1994).ISO / sun4c / archive / timex.z / timex / slib / X11 / app-defaults / Timex
Text File  |  1994-09-27  |  4KB  |  103 lines

  1. ! TIMEX defaults
  2. ! All questions: Harald Tveit Alvestrand <harald.t.alvestrand@delab.sintef.no>
  3. ! Application-level resources
  4. Timex.appDefaultsLoaded: true
  5. ! Always have a project icon name
  6. *projectIconName: true
  7. ! use a short, but present prefix to avoid jumping because of twm sorting
  8. *iconPrefix: T
  9. !=== ALTERING STUFF BELOW THIS LINE MAY CAUSE TIMEX TO BEHAVE STRANGELY ====
  10. ! If you have trouble, delete all your private settings and go back to
  11. ! this file's settings.
  12. !
  13. ! General ideas:
  14. ! Labels don't have borders.
  15. *Label.borderWidth: 0
  16. ! Most things are left-chained
  17. *right: ChainLeft
  18. *top: ChainTop
  19. *bottom: ChainTop
  20. ! Forms should look a bit "tight"
  21. *form.defaultDistance: 2
  22. ! There is something about resizing I don't understand - try general allow
  23. *allowShellResize: true
  24. *resizable: true
  25. ! Specific items
  26. *form.total.resizable: true
  27. *form.command.orientation: horizontal
  28. *form.command.plus.label: +
  29. *form.command.minus.label: -
  30. *form.command.addproject.label: add
  31. ! Command definitions
  32. *form.command.quit.translations: #override\n <Btn1Down>,<Btn1Up>: quit()
  33. *form.command.plus.translations: #override\n <Btn1Down>,<Btn1Up>: increment(5)
  34. *form.command.minus.translations: #override\n <Btn1Down>,<Btn1Up>: decrement(5)
  35. *form.command.save.translations: #override\n <Btn1Down>,<Btn1Up>: save()
  36. *form.command.load.translations: #override\n <Btn1Down>,<Btn1Up>: load()
  37. *form.command.pause.translations: #override\n <Btn1Down>,<Btn1Up>: pause()
  38. *form.command.add.translations: #override\n <Btn1Down>,<Btn1Up>: add()
  39. *form.command.edit.translations: #override\n <Btn1Down>,<Btn1Up>: edit()
  40. *form.date.horizDistance: 2
  41. *form.date.vertDistance: 0
  42. ! Allow vertical resizes of the viewport
  43. *form.viewport.allowVert: true
  44. ! Some things must be resizable
  45. *form.viewport*bottom: ChainBottom
  46. *form.viewport.right: ChainRight
  47. *form.viewport.form.names.right: ChainRight
  48. *form.viewport.top: ChainTop
  49. *form.viewport.form.times.defaultColumns: 1
  50. *form.viewport.form.names.defaultColumns: 1
  51. *form.viewport.form.names.resizable: true
  52. *form.viewport.form.times.resizable: true
  53. *form.viewport.form.List.translations: #override\n\
  54.     <Btn2Down>,<Btn2Up>: Set() Notify() edit()
  55. ! For some reason, the following makes the box crash the bottom line
  56. ! when a project is added. - without it, it creates a scrollbar, which is OK
  57. ! *form.viewport.resizable: true
  58. ! The popup widgets' attributes
  59. *addpopup.dialog.label: Project to add
  60. *addpopup.dialog.value.resizable: true
  61. *addpopup.dialog.value.resize: width
  62. *addpopup.dialog.value.translations: #override\n\
  63.     <Key>Return: addok() \n\
  64.     <Key>Linefeed: addok() \n\
  65.     <Key>Escape: addcancel()
  66. *addpopup.dialog.done.label: OK
  67. *addpopup.dialog.cancel.label: Cancel
  68. *addpopup.allowShellResize: true
  69. *addpopup.dialog.done.translations: #override\n\
  70.      <Btn1Down>,<Btn1Up>: addok()
  71. *addpopup.dialog.cancel.translations: #override\n\
  72.      <Btn1Down>,<Btn1Up>: addcancel()
  73. ! The edit box
  74. *editpopup.dialog.label: Project to edit
  75. *editpopup.dialog.value.translations: #override\n\
  76.     <Key>Return: editok() \n\
  77.     <Key>Linefeed: editok() \n\
  78.     <Key>Escape: editcancel()
  79. *editpopup.dialog.done.label: OK
  80. *editpopup.dialog.cancel.label: Cancel
  81. *editpopup.allowShellResize: true
  82. *editpopup.dialog.done.translations: #override\n\
  83.      <Btn1Down>,<Btn1Up>: editok()
  84. *editpopup.dialog.cancel.translations: #override\n\
  85.      <Btn1Down>,<Btn1Up>: editcancel()
  86. *editpopup.dialog.plus.translations: #override\n\
  87.      <Btn1Down>,<Btn1Up>: editincrement(5)
  88. *editpopup.dialog.minus.translations: #override\n\
  89.      <Btn1Down>,<Btn1Up>: editincrement(-5)
  90. *editpopup.dialog.delete.translations: #override\n\
  91.      <Btn1Down>,<Btn1Up>: editcancel() delete()
  92. ! The scrollbar
  93. *editpopup.dialog.scrollbar.orientation: horizontal
  94. *editpopup.dialog.scrollbar.length: 240
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.